﻿#ifndef MASS_H
#define MASS_H

#include <QDialog>
#include "env.h"

namespace Ui {
class Mass;
}

class Mass : public QDialog
{
    Q_OBJECT

public:
    explicit Mass(QWidget *parent = 0);
    ~Mass();

    bool saveRecord();
    void updateView();

private slots:
    void on_btn_submit_clicked();

    void on_btn_save_clicked();

private:
    Ui::Mass *ui;

    QString num,mass;
    QSqlTableModel *model;
};

#endif // MASS_H
